package com.test.zk;


import lombok.extern.slf4j.Slf4j;
import org.apache.zookeeper.AsyncCallback;
import org.apache.zookeeper.data.Stat;

/**
 * Created by xingfeng on 19-3-7.
 */
@Slf4j
public class StatCallback implements AsyncCallback.StatCallback {

    public void processResult(int rc, String path,Object ctx,Stat stat) {
        log.warn("异步判断节点："+path+","+(String)ctx+",其他信息："+stat.toString());
    }
}
